<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <meta name="keyword" content="@yield('keyword', settings('seo_keyword', ''))" />
    <meta name="description" content="@yield('description', settings('seo_description', ''))" />
    <link rel="shortcut icon" href="{{ asset('/favicon.ico') }}" type="image/x-icon">
    <link rel="icon" sizes="any" href="{{ asset('/images/ico.svg') }}">
    <title>@yield('title', 'showcj') | {{ settings('site_name', 'Jesse 技术博客') }}</title>
    <link href="{{ mix('css/app.css') }}" rel="stylesheet">
    @yield('styles')
</head>
<body>
    <div id="app" class="container {{ route_class() }}-page">
        {{--header--}}
        @include('blog.layouts.header')
        <div class="row">
            {{--aritcle list--}}
            <div class="col-md-9 col-xs-12 content">
                @yield('content')
            </div>
            {{--right sidebar--}}
            @include('blog.widget.sidebar')
        </div>
        {{--footer--}}
        @include('blog.layouts.footer')
    </div>
    <script src="{{ mix('js/app.js') }}"></script>
    <script>
        {!! settings('site_statistics') !!}
    </script>
    @yield('script')
</body>
</html>